<template>
  <div>
    <div>
      <input type="text" @keyup="onEnter" />
    </div>
  </div>
</template>
<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()

console.log(route.meta.title)

// console.log(import.meta.env.BASE_URL)
console.log(import.meta.env.VITE_APP_TITLE)

const onEnter = (e: KeyboardEvent) => {
  if ('Enter' === e.key) {
    console.log((e.target as HTMLInputElement).value)
  }
}
</script>
<style lang="scss" scoped></style>
